#include <stdio.h>
#include <stdlib.h>

int evenParity(int value, int n_bits)
{
    int parity = 0;
    while(n_bits > 0) {
        parity += value & 1;
        value >>= 1;
        n_bits -= 1;
    }
    return (parity % 2) == 0;
}

int main()
{
    int a;
    return 0;
}
